package com.hyfrogx.modules.zoom.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyfrogx.common.utils.QueryExt;
import com.hyfrogx.modules.zoom.entity.HyZoomHistory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author ：Li9527
 * @date ：Created in 2019-04-03 10:56
 * @description：${description}
 * @modified By：
 * @version: 1.0
 */
@Mapper
public interface HyZoomHistoryDao extends BaseMapper<HyZoomHistory> {

    /**
     * 查看该用户使用体验会议室次数
     *
     * @param hostid
     * @param bak
     * @return
     */
    int countUidFreeNum(@Param("hostid") Integer hostid, @Param("bak") String bak);


    List selectPageByConditions(QueryExt query,@Param("map") Map map);


}
